package cn.frh.order.service;


import cn.frh.basic.service.IBaseService;
import cn.frh.basic.util.PageList;
import cn.frh.order.domain.AdoptOrder;
import cn.frh.order.domain.ProductOrder;
import cn.frh.order.query.AdoptOrderQuery;
import cn.frh.order.query.ProductOrderQuery;
import cn.frh.product.domain.Product;
import cn.frh.user.domain.Logininfo;
import cn.frh.user.domain.User;

import java.util.Map;

public interface IProductOrderService extends IBaseService<ProductOrder> {
    /**
     * 服务下单接口
     * @param params
     * @param currentLogininfo
     * @return
     */
    String submit(Map<String, Object> params, Logininfo currentLogininfo);

    PageList<ProductOrder> admin(ProductOrderQuery query, Logininfo currentLogininfo);
}
